package mes.kanban.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;


/**
 * 配置详情列表
 * @author gjy
 *
 * 2018年1月26日下午3:36:14
 */
@Entity
@Table(name="mes_config_list")
public class MesConfigList implements Serializable{

	private static final long serialVersionUID = -2893322266001433689L;
	
	@Id
	@GeneratedValue(generator="uuid")
	@GenericGenerator(name="uuid",strategy="org.hibernate.id.UUIDGenerator")
	@Column(name="ID")
	private String id;
	
	@Column(name="polling_config_id")
	private String pollingConfigId;
	
	@Column(name="material_id")
	private String materialId;
	
	@Column(name="show_type")
	private String showType;
	
	@Column(name="show_duration")
	private String showDuration;
	
	@Column(name="show_order")
	private Integer showOrder;
	
	/*
	 * 针对报表的刷新时间
	 */
	@Column(name="table_timer")
	private Long tableTimer;
	
	@Column(name="status")
	private Integer status;
	
	public void setStatus(Integer status) {
		this.status = status;
	}
	
	public Integer getStatus() {
		return status;
	}

	public Long getTableTimer() {
		return tableTimer;
	}

	public void setTableTimer(Long tableTimer) {
		this.tableTimer = tableTimer;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getPollingConfigId() {
		return pollingConfigId;
	}

	public void setPollingConfigId(String pollingConfigId) {
		this.pollingConfigId = pollingConfigId;
	}

	public void setShowType(String showType) {
		this.showType = showType;
	}
	
	public String getShowType() {
		return showType;
	}

	public String getShowDuration() {
		return showDuration;
	}

	public void setShowDuration(String showDuration) {
		this.showDuration = showDuration;
	}

	public Integer getShowOrder() {
		return showOrder;
	}

	public void setShowOrder(Integer showOrder) {
		this.showOrder = showOrder;
	}
	
	public void setMaterialId(String materialId) {
		this.materialId = materialId;
	}
	
	public String getMaterialId() {
		return materialId;
	}

	@Override
	public String toString() {
		return "ConfigList [id=" + id + ", polingConfigId=" + pollingConfigId + ", showType=" + showType
				+ ", showDuration=" + showDuration + ", showOrder=" + showOrder +  "]";
	}
	
	

}
